package cn.classyex.business.hr.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 简历管理对象 hr_resume
 * 
 * @author yex
 * @date 2021-05-05
 */
public class Resume extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 简历id */
    private Long resumeId;

    /** 简历标题 */
    @Excel(name = "简历标题")
    private String title;

    /** 简历来源 */
    @Excel(name = "简历来源")
    private String source;

    /** 简历文件 */
    @Excel(name = "简历文件")
    private String resumeUrl;

    /** 联系人名称 */
    @Excel(name = "联系人名称")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 联系人电话 */
    @Excel(name = "联系人电话")
    private String phoneNumber;

    /** 联系人邮箱 */
    @Excel(name = "联系人邮箱")
    private String email;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 简历状态 */
    @Excel(name = "简历状态")
    private String status;

    public void setResumeId(Long resumeId) 
    {
        this.resumeId = resumeId;
    }

    public Long getResumeId() 
    {
        return resumeId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setSource(String source) 
    {
        this.source = source;
    }

    public String getSource() 
    {
        return source;
    }
    public void setResumeUrl(String resumeUrl) 
    {
        this.resumeUrl = resumeUrl;
    }

    public String getResumeUrl() 
    {
        return resumeUrl;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setBirthday(Date birthday) 
    {
        this.birthday = birthday;
    }

    public Date getBirthday() 
    {
        return birthday;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("resumeId", getResumeId())
            .append("title", getTitle())
            .append("source", getSource())
            .append("resumeUrl", getResumeUrl())
            .append("name", getName())
            .append("sex", getSex())
            .append("phoneNumber", getPhoneNumber())
            .append("email", getEmail())
            .append("birthday", getBirthday())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
